#include<iostream>
#include<stdio.h>
using namespace std;

int step, mod;

int GCD(int x, int y)
{
    while(y>0) {
        x = x%y;
        x^=y^=x^=y;  //swap
    }
    return x;
}

void read() {
   int min, max;
   while(cin >> step >> mod) {
      if(step < mod) {
         min = step;
         max = mod;
      }
      else {
         min = mod;
         max = step;
      }
      if(GCD(min, max) == 1)
         printf("%10d%10d     Good Choice\n", step, mod);
      else
         printf("%10d%10d     Bad Choice\n", step, mod);
      cout << endl;
   }
}

int main() {
   read();
   return 0;
}
